package com.haofengsoft.scce.adapter.optional;

public class OptionalModel {

	private String id;
	private String name;
	private String number;

	private String price;
	private String upAndDown;
	private boolean upOrDown;

	private int type;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	/**
	 * true 涨 -（红）<br/>
	 * false 跌 - （绿）
	 * 
	 * @return
	 */
	public boolean isUpOrDown() {
		return upOrDown;
	}

	public void setUpOrDown(boolean upOrDown) {
		this.upOrDown = upOrDown;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getUpAndDown() {
		return upAndDown;
	}

	public void setUpAndDown(String upAndDown) {
		this.upAndDown = upAndDown;
	}

}
